package com.yh.bean;

public class NewsComment {

	private int comId;
	private int user_Id;
	private int news_Id;
	private String comContent;
	private String head;
	private String commentTime;
	private User user;
	
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public int getComId() {
		return comId;
	}
	public void setComId(int comId) {
		this.comId = comId;
	}
	public int getUser_Id() {
		return user_Id;
	}
	public void setUser_Id(int user_Id) {
		this.user_Id = user_Id;
	}
	public int getNews_Id() {
		return news_Id;
	}
	public void setNews_Id(int news_Id) {
		this.news_Id = news_Id;
	}
	public String getComContent() {
		return comContent;
	}
	public void setComContent(String comContent) {
		this.comContent = comContent;
	}
	public String getHead() {
		return head;
	}
	public void setHead(String head) {
		this.head = head;
	}
	public String getCommentTime() {
		return commentTime;
	}
	public void setCommentTime(String commentTime) {
		this.commentTime = commentTime;
	}
	@Override
	public String toString() {
		return "NewsComment [comId=" + comId + ", user_Id=" + user_Id
				+ ", news_Id=" + news_Id + ", comContent=" + comContent
				+ ", head=" + head + ", commentTime=" + commentTime + ", user="
				+ user + "]";
	}
	
	
	
}
